package com.huilian.iotbox.admin.wap.service;

import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.RolePermissionTempDto;
import com.huilian.iotbox.data.po.Permission;

import java.util.List;

/**
 * @author LinYinDong
 * @date 2024/10/9 下午5:38
 */
public interface PermissionService {
    ServerResponse findPermissionList(RolePermissionTempDto rolePermissionTempDto);

    ServerResponse roleEchoSwitch(RolePermissionTempDto rolePermissionTempDto);

    List<Permission> findAllPermissionByIdListAndOther(List<Integer> inPermissionIdList, Permission permissionCondition);
}
